﻿using System.ComponentModel.DataAnnotations;

namespace housingsafety.server.Models
{
    /// <summary>
    /// 用户注册信息
    /// </summary>
    public class UserRegisterInfoInput
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required]
        public string UserName { get; set; }

        /// <summary>
        /// 密码(md5)
        /// </summary>
        [Required]
        public string Pwd { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string Nickname { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
    }
}